import request from '@/utils/request'
const BASE_URL = '/issue'
// 分页查询
export function getIssuePageList(data) {
  return request({
    url: BASE_URL + '/getPageList',
    method: 'post',
    data
  })
}

// 新增
export function addIssue(data) {
  return request({
    url: BASE_URL + '/add',
    method: 'post',
    data
  })
}

// 详情
export function getIssueInfo(data) {
  return request({
    url: BASE_URL + '/getInfo',
    method: 'post',
    data
  })
}

// 删除
export function issueDelete(data) {
  return request({
    url: BASE_URL + '/delete',
    method: 'post',
    data
  })
}

// 处理
export function issueHandle(data) {
  return request({
    url: BASE_URL + '/handle',
    method: 'post',
    data
  })
}
// 上传图片
export function uploadPic(data) {
  return request({
    url: BASE_URL + '/uploadPic',
    method: 'post',
    data
  })
}

